[INFO] cloning repository https://github.com/danreeves/rust-tests
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/danreeves/rust-tests" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanreeves%2Frust-tests", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanreeves%2Frust-tests'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 14017c607dbca26f2ae9f27500d46a91aaed3402
[INFO] building danreeves/rust-tests against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanreeves%2Frust-tests" "/workspace/builds/worker-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/danreeves/rust-tests on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/danreeves/rust-tests
[INFO] finished tweaking git repo https://github.com/danreeves/rust-tests
[INFO] tweaked toml for git repo https://github.com/danreeves/rust-tests written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/danreeves/rust-tests already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] edbe192382c567701c8b2cc3a927469ccfb4f80d35893838a2132216d880320c
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "edbe192382c567701c8b2cc3a927469ccfb4f80d35893838a2132216d880320c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "edbe192382c567701c8b2cc3a927469ccfb4f80d35893838a2132216d880320c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "edbe192382c567701c8b2cc3a927469ccfb4f80d35893838a2132216d880320c", kill_on_drop: false }`
[INFO] [stdout] edbe192382c567701c8b2cc3a927469ccfb4f80d35893838a2132216d880320c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c74fd3c0d8677868a7ec49661482e9b5e97c8e2a8a1a5029bdc3d54d5cc23f66
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "c74fd3c0d8677868a7ec49661482e9b5e97c8e2a8a1a5029bdc3d54d5cc23f66", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.42
[INFO] [stderr]    Compiling rand_core v0.2.1
[INFO] [stderr]    Compiling rand v0.5.1
[INFO] [stderr]    Compiling rust-tests v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::cmp::PartialOrd`
[INFO] [stdout]  --> src/generics.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::cmp::PartialOrd;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/hashmaps.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self::another::thing`
[INFO] [stdout]  --> src/modules/mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use self::another::thing;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DerefMut`, `Deref`
[INFO] [stdout]  --> src/smart_pointers.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::{Deref, DerefMut};
[INFO] [stdout]   |                ^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Any`, `TypeId`
[INFO] [stdout]  --> src/structs.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::any::{Any, TypeId};
[INFO] [stdout]   |                ^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::f32::consts::PI`
[INFO] [stdout]  --> src/structs.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::f32::consts::PI;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `rust_tests`
[INFO] [stdout]   --> src/main.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout] 1  | / mod arithmetic;
[INFO] [stdout] 2  | | mod borrowing;
[INFO] [stdout] 3  | | mod closures;
[INFO] [stdout] 4  | | mod enums;
[INFO] [stdout] ...  |
[INFO] [stdout] 24 | |     assert!(true)
[INFO] [stdout] 25 | | }
[INFO] [stdout]    | |_^ consider adding a `main` function to `src/main.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-tests`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "c74fd3c0d8677868a7ec49661482e9b5e97c8e2a8a1a5029bdc3d54d5cc23f66", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c74fd3c0d8677868a7ec49661482e9b5e97c8e2a8a1a5029bdc3d54d5cc23f66", kill_on_drop: false }`
[INFO] [stdout] c74fd3c0d8677868a7ec49661482e9b5e97c8e2a8a1a5029bdc3d54d5cc23f66
